<?php
	$id = $_GET["id"];
	$query = Doctrine::getTable('PRODUCTO')->getProductoByMedida($id)->execute();
	foreach( $query as $prod)
		echo '<option value="'.$prod->id.'">'.$prod->nombre.'</option>';
?>
